package com.tuling.service;

import com.tuling.domain.Cart;
import com.tuling.domain.Fruit;

import java.util.List;

public interface CartService {

    public int add(int uid, Cart cart);

    public Cart find(int uid, int fid);

    public int update(int uid, Cart cart);

    public List<Cart> findByUid(int uid);

    // flag 标识显示关注还是加购
    public List<Fruit> show(int uid, boolean flag);

    public int del(int uid, int fid);
}
